<html>
	<body>
		<center><h3> Lists of registers</h3></center><br>
		<table border="1">
			<tr>
				<td>Name</td>
                <td>Email</td>
                <td>ApiKey</td>
                <td>SecretKey</td>
                <td>Enabled</td>
                <td>Edit</td>
                <td>Delete</td>
            </tr>
            {% for api in apis %}
            <tr>
            	<td>{{ api.name }}</td>
                <td>{{ api.email }}</td>
                <td>{{ api.api_key }}</td>
                <td>{{ api.secret_key }}</td>
                <td>
                    <input type="checkbox" name="{{ api.api_key }}"
                    {% if api.enabled %} checked{% endif %} disabled>
                </td>
                <td><a href="/api_key/edit?key={{ api.key }}">Edit</a></td>
                <td><a href="/api_key/delete?key={{ api.key }}">Delete</a></td>
            </tr>
            {% endfor %}
		</table>
		<br>
		<a href="/api_key/add"><img src="/icon/add.png"/>Return to AddPage</a><br>
		<a href="/"><img src="/icon/home.png"/>Return to Homepage</a>
	</body>
</html>